package com.hnhegui.backend.platform.convert.order;

import com.hnhegui.backend.order.dto.request.FulfillmentRequestDTO;
import com.hnhegui.backend.order.dto.response.FulfillmentResponseDTO;
import com.hnhegui.backend.platform.vo.order.request.FulfillmentRequestVO;
import com.hnhegui.backend.platform.vo.order.response.FulfillmentResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author 刘大海
 * @since 2025/10/27 11:25
 */
@Mapper
public interface FulfillmentConvert {

    FulfillmentConvert INSTANCE = Mappers.getMapper(FulfillmentConvert.class);

    FulfillmentRequestDTO convertRequest(FulfillmentRequestVO request);

    FulfillmentResponseVO convertResponse(FulfillmentResponseDTO data);
}
